[INFO] cloning repository https://github.com/mookid/diffr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mookid/diffr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmookid%2Fdiffr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmookid%2Fdiffr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 50cd7da9cb69025886edd896846d226c8c33f6eb
[INFO] checking mookid/diffr against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmookid%2Fdiffr" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mookid/diffr on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mookid/diffr
[INFO] removed path dependency diffr-lib from git repo https://github.com/mookid/diffr
[INFO] finished tweaking git repo https://github.com/mookid/diffr
[INFO] tweaked toml for git repo https://github.com/mookid/diffr written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/mookid/diffr already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f83a33699d0c58f9127ebc144489a172ea13c01fbf4a4520dec7449d873eac2e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f83a33699d0c58f9127ebc144489a172ea13c01fbf4a4520dec7449d873eac2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f83a33699d0c58f9127ebc144489a172ea13c01fbf4a4520dec7449d873eac2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f83a33699d0c58f9127ebc144489a172ea13c01fbf4a4520dec7449d873eac2e", kill_on_drop: false }`
[INFO] [stdout] f83a33699d0c58f9127ebc144489a172ea13c01fbf4a4520dec7449d873eac2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d227fe3663f8c2a311e4c3174934a5e6b458f97c53a4bd7b3ca3a642afcedad9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d227fe3663f8c2a311e4c3174934a5e6b458f97c53a4bd7b3ca3a642afcedad9", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking diffr-lib v0.1.3
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking diffr v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `diffr_lib::TokenMap`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use diffr_lib::TokenMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ no `TokenMap` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `diffr_lib::TokenMap`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use diffr_lib::TokenMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ no `TokenMap` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 241 | fn shared_spans(added_tokens: &Tokenization, diff_buffer: &Vec<Snake>) -> Vec<(usize, usize)> {
[INFO] [stdout]     |                                                                           ------------------- expected `Vec<(usize, usize)>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 248 |     shared_spans
[INFO] [stdout]     |     ^^^^^^^^^^^^ expected tuple, found struct `HashedSpan`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<(usize, usize)>`
[INFO] [stdout]                found struct `Vec<HashedSpan>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 241 | fn shared_spans(added_tokens: &Tokenization, diff_buffer: &Vec<Snake>) -> Vec<(usize, usize)> {
[INFO] [stdout]     |                                                                           ------------------- expected `Vec<(usize, usize)>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 248 |     shared_spans
[INFO] [stdout]     |     ^^^^^^^^^^^^ expected tuple, found struct `HashedSpan`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<(usize, usize)>`
[INFO] [stdout]                found struct `Vec<HashedSpan>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:376:23
[INFO] [stdout]     |
[INFO] [stdout] 376 |         let removed = Tokenization::new(data, removed_tokens, &m);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ ----  --------------  -- supplied 3 arguments
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:377:21
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let added = Tokenization::new(data, added_tokens, &m);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ ----  ------------  -- supplied 3 arguments
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:376:23
[INFO] [stdout]     |
[INFO] [stdout] 376 |         let removed = Tokenization::new(data, removed_tokens, &m);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ ----  --------------  -- supplied 3 arguments
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:377:21
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let added = Tokenization::new(data, added_tokens, &m);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ ----  ------------  -- supplied 3 arguments
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:378:33
[INFO] [stdout]     |
[INFO] [stdout] 378 |         let tokens = DiffInput::new(&added, &removed);
[INFO] [stdout]     |                                 ^^^ function or associated item not found in `DiffInput<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:378:33
[INFO] [stdout]     |
[INFO] [stdout] 378 |         let tokens = DiffInput::new(&added, &removed);
[INFO] [stdout]     |                                 ^^^ function or associated item not found in `DiffInput<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:383:19
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let lcs = Tokenization::new(data, &shared_spans, &m);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ ----  -------------  -- supplied 3 arguments
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:383:19
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let lcs = Tokenization::new(data, &shared_spans, &m);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ ----  -------------  -- supplied 3 arguments
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `added` found for struct `DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:411:36
[INFO] [stdout]     |
[INFO] [stdout] 411 | ...                   tokens.added(),
[INFO] [stdout]     |                              ^^^^^-- help: remove the arguments
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `added` found for struct `DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:411:36
[INFO] [stdout]     |
[INFO] [stdout] 411 | ...                   tokens.added(),
[INFO] [stdout]     |                              ^^^^^-- help: remove the arguments
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `removed` found for struct `DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:418:36
[INFO] [stdout]     |
[INFO] [stdout] 418 | ...                   tokens.removed(),
[INFO] [stdout]     |                              ^^^^^^^-- help: remove the arguments
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `removed` found for struct `DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:418:36
[INFO] [stdout]     |
[INFO] [stdout] 418 | ...                   tokens.removed(),
[INFO] [stdout]     |                              ^^^^^^^-- help: remove the arguments
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:468:17
[INFO] [stdout]     |
[INFO] [stdout] 468 |                 &mut self.added_tokens
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ expected struct `HashedSpan`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<HashedSpan>`
[INFO] [stdout]                found mutable reference `&mut Vec<(usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:468:17
[INFO] [stdout]     |
[INFO] [stdout] 468 |                 &mut self.added_tokens
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ expected struct `HashedSpan`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<HashedSpan>`
[INFO] [stdout]                found mutable reference `&mut Vec<(usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:470:17
[INFO] [stdout]     |
[INFO] [stdout] 470 |                 &mut self.removed_tokens
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `HashedSpan`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<HashedSpan>`
[INFO] [stdout]                found mutable reference `&mut Vec<(usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:470:17
[INFO] [stdout]     |
[INFO] [stdout] 470 |                 &mut self.removed_tokens
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `HashedSpan`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Vec<HashedSpan>`
[INFO] [stdout]                found mutable reference `&mut Vec<(usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `diffr`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "d227fe3663f8c2a311e4c3174934a5e6b458f97c53a4bd7b3ca3a642afcedad9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d227fe3663f8c2a311e4c3174934a5e6b458f97c53a4bd7b3ca3a642afcedad9", kill_on_drop: false }`
[INFO] [stdout] d227fe3663f8c2a311e4c3174934a5e6b458f97c53a4bd7b3ca3a642afcedad9
